<!DOCTYPE html>
<html lang="zh-cn">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
	<title>桃李科技</title>
	<link rel="stylesheet" href="__BS__/css/bootstrap.min.css">
</head>
<body>
	<div class="container">

      <!-- Static navbar -->
      <nav class="navbar navbar-default">
        <div class="container-fluid">
          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">桃李科技</a>
          </div>
          <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
              <!-- <li class="active"><a href="#">首页</a></li> -->
              <li class="active"><a href="<{:U('index')}>">当日签到情况</a></li>
              <li><a href="<{:U('weekSign')}>">某日签到情况查看</a></li>
              <li><a href="<{:U('statistic')}>">统计</a></li>
              <!-- <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
                <ul class="dropdown-menu">
                  <li><a href="#">Action</a></li>
                  <li><a href="#">Another action</a></li>
                  <li><a href="#">Something else here</a></li>
                  <li role="separator" class="divider"></li>
                  <li class="dropdown-header">Nav header</li>
                  <li><a href="#">Separated link</a></li>
                  <li><a href="#">One more separated link</a></li>
                </ul>
              </li> -->
            </ul>
            <!-- <ul class="nav navbar-nav navbar-right">
              <li class="active"><a href="./">Default <span class="sr-only">(current)</span></a></li>
              <li><a href="../navbar-static-top/">Static top</a></li>
              <li><a href="../navbar-fixed-top/">Fixed top</a></li>
            </ul> -->
          </div><!--/.nav-collapse -->
        </div><!--/.container-fluid -->
      </nav>

      <!-- Main component for a primary marketing message or call to action -->
      <blockquote>
        <p>当前日期：<{$now|date="Y-m-d",###}></p>
      </blockquote>
     <table class="table table-striped table-bordered">
      <tr>
        <th>姓名</th>
        <th>签到时间</th>
        <th>签退时间</th>
        <th>请假/请假原因</th>
      </tr>
      <volist name="sign" id="s" empty="暂时没有数据" >
         <tr>
           <td <if condition="$s['signintime'] eq '' and $s['absent'] eq ''">style="color:red;"</if>><{$s['stuname']}></td>
            <td>
              <if condition="$s['signintime'] neq ''">
                <{$s['signintime']|date="Y-m-d H:i:s",###}>             
              </if>
            </td>
            <td>
              <if condition="$s['signouttime'] neq ''">
                <{$s['signouttime']|date="Y-m-d H:i:s",###}>             
              </if>
            </td>
            <td>
              <{$s['absent']}>
            </td>
         </tr>
      </volist>
    </table>

    </div>
</body>
</html>